package com.csun.cmny.provider.model.vo.nursingTour;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

@Data
public class NursingTourRecordVo {


    private Long id;

    //机构id
    private Long groupId;

    //老人id
    private Long oldManId;

    //老人名字
    private String oldManName;

    //护工名字
    private String nursingName;

    //护工userId
    private Long nursingUserId;

    //巡视时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date tourTime;

    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    //巡视情况
    private String conditions;

    //图片code
    private String imgCode;
}
